<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
	<table summary="" style="border: 1px solid red;">
		<th><spring:message code="associazione.convenzioni.label"/></th>
		
			     <c:forEach var="conventionsItem" items="${conventions}">
			     <tr style="border: 1px solid red;">
			        <td id="${conventionsItem.id}">
			              <div>${conventionsItem.name} </div>
			              <div>${conventionsItem.description}</div>
			        </td>
			        <td>
			           <c:url value="/convention/edit/${conventionsItem.id}" var="visualizza" />
                       <a href="${visualizza}"><spring:message code="link.edit.label"/></a>
                    </td>
			        <hr>
			     </tr>
			     </c:forEach>
	</table>
	
</body>
</html>